cmake_minimum_required(VERSION 3.17)
project(Game2D)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_BUILD_TYPE Debug)

include_directories("${PROJECT_SOURCE_DIR}/Actor")
include_directories("${PROJECT_SOURCE_DIR}/Component")
add_subdirectory(Actor)
add_subdirectory(Component)
add_executable(Game2D main.cpp WindowsHandler.cpp WindowsHandler.h stb_image.h BaseGDIHandler.cpp BaseGDIHandler.h SubSystem1.cpp SubSystem1.h Actor/GameActor.cpp Actor/GameActor.h Component/MovementComponent.cpp Component/MovementComponent.h Component/RenderComponent.cpp Component/RenderComponent.h InputManager.cpp InputManager.h Utils.cpp Utils.h GMath.cpp GMath.h Component/AnimeComponent.cpp Component/AnimeComponent.h Component/PhyComponent.cpp Component/PhyComponent.h Actor/EnemyActor.cpp Actor/EnemyActor.h Actor/ItemActor.cpp Actor/ItemActor.h)